package com.chenfan.mcn.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chenfan.mcn.model.base.BaseSaveEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 平台下单返点优惠
 * </p>
 *
 * @author lizhejin
 * @since 2021-01-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("discount_rebate")
public class DiscountRebate extends BaseSaveEntity {

    private static final long serialVersionUID = 6080688066879394964L;

    /**
     * 折扣审批单id
     */
    private Long discountId;

    /**
     * 下单平台(数据字典)(逗号分隔)
     */
    private String orderPlatformIds;

    /**
     * 返点比例
     */
    private BigDecimal rebateRate;

}
